import { IBaseResponse } from './types';

export interface IStudentParams {
  studentName?: string;
  classMsgId?: number;
}

export interface ISaveStudentParams{
  studentName:string
  studentSex:number
  classMsgId:number
  majorId:string
  studentPractice:string
  studentStatus:string
  studentNumber:string
  studentPlace:string
  schoolId:string
  schoolFacultyId:string
  schoolSpecialId:string
}

export interface IStudent {
  classMsgId: number;
  className: string;
  code?: string;
  createBy?: string;
  createTime?: string;
  founder: number;
  id: number;
  majorId: number;
  majorName?: string;
  params: any;
  regenerator?: string;
  remark?: string;
  schoolFacultyId: string;
  schoolId: string;
  schoolSpecialId: string;
  searchValue?: string;
  studentName: string;
  studentNumber: string;
  studentPlace: string;
  studentPractice: string;
  studentSex: number;
  studentState: number;
  studentStatus: string;
  updateBy?: string;
  updateTime?: string;
}

export interface IStudentResponse extends IBaseResponse {
  data: {
    rows: IStudent[];
  };
}


export interface IUpdateStudentParams{
  id:number
  studentName:string
  studentSex:number
  classMsgId:number
  majorId:string
  studentPractice:string
  studentStatus:string
  studentNumber:string
  studentPlace:string
  schoolId:string
  schoolFacultyId:string
  schoolSpecialId:string
}